package com.kaili.pojo.dto.appoint;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author xjh
 * @ClassName EwbAppointAddBean
 * @Description 预约登记物品实体类
 * @Date 下午2:13 18-5-23
 * @Version 1.0
 */
@Data
public class AppointGoodsEditDTO extends AppointGoodsAddDTO {

    @Pattern(regexp = "^\\d{0,19}$",message = "运单主键应为[0-9]组成的1-19位字符")
    @ApiModelProperty("货物ID")
    private Long goodsId;

}
